//文章列表
import request from '../request';
let HOST = "";
const api = {
  //获取文章列表
  articleList: `${HOST}/content.article/list`,
  //获取文章详情
  articleInfo:`${HOST}/content.article/detail`,
}
export default {
  //获取文章列表
  getArticleList(params) {
    return request.get(api.articleList, {
      params
    });
  },
  //获取文章详情
  getArticleInfo(params) {
    console.log(params)
    return request.get(api.articleInfo, {
      params
    });
  }
}
